package com.weipai.springboot.module.dao;

import com.weipai.springboot.model.Advertising;

import java.util.List;

/**
 * @Author: 曹朋飞
 * @Date: 2019/01/09 09:46
 */
public interface AdvertisingDao {
    List<Advertising> list(Integer start, Integer size, String type);

    Integer amount(String type);

    int updateByPrimaryKeySelective(Advertising advertising);

    int insert(Advertising advertising);

    Advertising selectByPrimaryKey(String id);

    int deleteByPrimaryKey(String id);
}
